package com.example.demo.service;

import com.example.demo.model.Admin;
import com.example.demo.model.User;
import org.springframework.boot.autoconfigure.kafka.KafkaProperties;

import java.util.List;

public interface AdminService {

    /*
    管理员登录,或者管理员数据查询
     */
    Admin adminLogin(String name,String password);
    List<Admin> selectByCondition(String id, String name, String phone, String email);
    List<Admin> selectByCondition(String id, String name, String phone, String email,String deleteFlag);
    /*

     */

    int adminUpdate(Admin admin);
    int adminDelete(Admin admin);
    int adminInsert(Admin admin);


}
